import contohInterface.Interface1;
import contohInterface.Interface2;
import contohInterface.impl.Interface1Impl;


public class MainClass {
	static Interface1 i1 = new Interface1Impl();
	static Interface2 i2 = new Interface1Impl();
	
	static Interface1[] arrInterface = new Interface1[3];
	
	public static void main(String[] args){
		i1.play();
		i2.play();
		
		int x = Interface1.i;
		System.out.println(x);
	}
	
	public void testInheritInnerClass(){
		InheritInnerClass obj = new InheritInnerClass();
		obj.methodX4();
	}
	
	private interface Interface4{
		void methodX4();
	}
	
	public class InnerClass {

		public void methodX4() {
			// TODO Auto-generated method stub
			
		}
		
	}
	
	class InheritInnerClass extends InnerClass{
		
	}
}
